<h1><?php echo $this->Html->image('bootstrap/posts.png')?>添加菜单</h1>
<div class="bloc">
	<div class="title">
		<?php echo $this->element('admin/bread')?>
	</div>
    <div class="content">
		<?php echo $this->Form->create ( 'Menu');?>
        <?php echo $this->Form->input('Menu.parent_id',array('label' => '父级ID：','value'=>$parent_id,'type'=>'text','readonly'=>true)); ?>
        <?php echo $this->Form->input('Menu.title', array ('label' => '名称：'));?>
        <?php echo $this->Form->input('Menu.plugin', array ('label' => 'plugin：'));?>
        <?php echo $this->Form->input('Menu.controller', array ('label' => 'controller：'));?>
        <?php echo $this->Form->input('Menu.action', array ('label' => 'action：'));?>
        <?php echo $this->Form->input('Menu.icon',array('label' => 'icon：','default'=>''));?>
        <?php echo $this->Form->input('Menu.weight', array ('label' => '权重：','default'=>1000));?>
        <?php echo $this->Form->input('Menu.sort', array ('default'=>'100','label' => '排序：'));?>
		<?php echo $this->Form->input('Menu.bind_event',array('label' => '绑定','type'=>'checkbox'));?>
        <?php echo $this->Form->input('Menu.is_open',array('label' => '展开','type'=>'checkbox'));?>
        <?php echo $this->Form->input('Menu.enable',array('label' => '启用','type'=>'checkbox'));?>
        <?php echo $this->Form->end('提交');?>
	</div>
</div>